package com.hu.zhcc.shiro.dao.xy;


import com.hu.zhcc.shiro.entity.xy.pojo.TAssess;
import com.hu.zhcc.shiro.entity.xy.pojo.TAssessAnswer;

import java.util.List;

public interface TAssessAnswerMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TAssessAnswer record);

    int insertSelective(TAssessAnswer record);

    TAssessAnswer selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TAssessAnswer record);

    int updateByPrimaryKey(TAssessAnswer record);

    Integer queryAnswerCountById(Integer userId,Integer bankId);

    List<TAssessAnswer> selectTAssessByUserId(Integer userId ,Integer questionId);

//    List<TAssess> selectAnswer( Integer userId, Integer questionId );
}